﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="NetControlToolsDataSet" targetNamespace="http://tempuri.org/NetControlToolsDataSet.xsd" xmlns:mstns="http://tempuri.org/NetControlToolsDataSet.xsd" xmlns="http://tempuri.org/NetControlToolsDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="NetControlToolsConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="NetControlToolsConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.Common.Properties.Settings.GlobalReference.Default.NetControlToolsConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ServerConfigurationTableAdapter" GeneratorDataComponentClassName="ServerConfigurationTableAdapter" Name="ServerConfiguration" UserDataComponentName="ServerConfigurationTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="NetControlToolsConnectionString (Settings)" DbObjectName="dbo.ServerConfiguration" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[ServerConfiguration] ([ServerID], [ServerName]) VALUES (@ServerID, @ServerName)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@ServerID" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="ServerID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@ServerName" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ServerName" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ServerID, ServerName FROM dbo.ServerConfiguration</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ServerID" DataSetColumn="ServerID" />
              <Mapping SourceColumn="ServerName" DataSetColumn="ServerName" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="SensorTableAdapter" GeneratorDataComponentClassName="SensorTableAdapter" Name="Sensor" UserDataComponentName="SensorTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="NetControlToolsConnectionString (Settings)" DbObjectName="dbo.Sensor" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Sensor] ([SensorID], [SensorName]) VALUES (@SensorID, @SensorName)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@SensorID" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="SensorID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@SensorName" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="SensorName" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT SensorID, SensorName FROM dbo.Sensor</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="SensorID" DataSetColumn="SensorID" />
              <Mapping SourceColumn="SensorName" DataSetColumn="SensorName" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ControllerTableAdapter" GeneratorDataComponentClassName="ControllerTableAdapter" Name="Controller" UserDataComponentName="ControllerTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="NetControlToolsConnectionString (Settings)" DbObjectName="dbo.Controller" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Controller] ([ControllerID], [ControllerName]) VALUES (@ControllerID, @ControllerName)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@ControllerID" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="ControllerID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@ControllerName" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="ControllerName" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ControllerID, ControllerName FROM dbo.Controller</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ControllerID" DataSetColumn="ControllerID" />
              <Mapping SourceColumn="ControllerName" DataSetColumn="ControllerName" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="NetControlToolsDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="NetControlToolsDataSet" msprop:Generator_UserDSName="NetControlToolsDataSet">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="ServerConfiguration" msprop:Generator_TableClassName="ServerConfigurationDataTable" msprop:Generator_TableVarName="tableServerConfiguration" msprop:Generator_TablePropName="ServerConfiguration" msprop:Generator_RowDeletingName="ServerConfigurationRowDeleting" msprop:Generator_UserTableName="ServerConfiguration" msprop:Generator_RowChangingName="ServerConfigurationRowChanging" msprop:Generator_RowEvHandlerName="ServerConfigurationRowChangeEventHandler" msprop:Generator_RowDeletedName="ServerConfigurationRowDeleted" msprop:Generator_RowEvArgName="ServerConfigurationRowChangeEvent" msprop:Generator_RowChangedName="ServerConfigurationRowChanged" msprop:Generator_RowClassName="ServerConfigurationRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ServerID" msdata:DataType="System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" msprop:Generator_ColumnVarNameInTable="columnServerID" msprop:Generator_ColumnPropNameInRow="ServerID" msprop:Generator_ColumnPropNameInTable="ServerIDColumn" msprop:Generator_UserColumnName="ServerID" type="xs:string" />
              <xs:element name="ServerName" msprop:Generator_ColumnVarNameInTable="columnServerName" msprop:Generator_ColumnPropNameInRow="ServerName" msprop:Generator_ColumnPropNameInTable="ServerNameColumn" msprop:Generator_UserColumnName="ServerName">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Sensor" msprop:Generator_TableClassName="SensorDataTable" msprop:Generator_TableVarName="tableSensor" msprop:Generator_TablePropName="Sensor" msprop:Generator_RowDeletingName="SensorRowDeleting" msprop:Generator_UserTableName="Sensor" msprop:Generator_RowChangingName="SensorRowChanging" msprop:Generator_RowEvHandlerName="SensorRowChangeEventHandler" msprop:Generator_RowDeletedName="SensorRowDeleted" msprop:Generator_RowEvArgName="SensorRowChangeEvent" msprop:Generator_RowChangedName="SensorRowChanged" msprop:Generator_RowClassName="SensorRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="SensorID" msdata:DataType="System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" msprop:Generator_ColumnVarNameInTable="columnSensorID" msprop:Generator_ColumnPropNameInRow="SensorID" msprop:Generator_ColumnPropNameInTable="SensorIDColumn" msprop:Generator_UserColumnName="SensorID" type="xs:string" />
              <xs:element name="SensorName" msprop:Generator_ColumnVarNameInTable="columnSensorName" msprop:Generator_ColumnPropNameInRow="SensorName" msprop:Generator_ColumnPropNameInTable="SensorNameColumn" msprop:Generator_UserColumnName="SensorName">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Controller" msprop:Generator_TableClassName="ControllerDataTable" msprop:Generator_TableVarName="tableController" msprop:Generator_TablePropName="Controller" msprop:Generator_RowDeletingName="ControllerRowDeleting" msprop:Generator_UserTableName="Controller" msprop:Generator_RowChangingName="ControllerRowChanging" msprop:Generator_RowEvHandlerName="ControllerRowChangeEventHandler" msprop:Generator_RowDeletedName="ControllerRowDeleted" msprop:Generator_RowEvArgName="ControllerRowChangeEvent" msprop:Generator_RowChangedName="ControllerRowChanged" msprop:Generator_RowClassName="ControllerRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ControllerID" msdata:DataType="System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" msprop:Generator_ColumnVarNameInTable="columnControllerID" msprop:Generator_ColumnPropNameInRow="ControllerID" msprop:Generator_ColumnPropNameInTable="ControllerIDColumn" msprop:Generator_UserColumnName="ControllerID" type="xs:string" />
              <xs:element name="ControllerName" msprop:Generator_ColumnVarNameInTable="columnControllerName" msprop:Generator_ColumnPropNameInRow="ControllerName" msprop:Generator_ColumnPropNameInTable="ControllerNameColumn" msprop:Generator_UserColumnName="ControllerName">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
</xs:schema>